<%@page import="com.kaishengit.pms.entity.Task"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<style type="text/css">
		body{
			background-image:url(img/bb.jpg);
			background-repeat:repeat-x;
		}
	</style>
</head>
<body class="body">
	<%@ include file="include/main-top.jsp" %>
	<div class="container">
	  <div class="row">
		<jsp:include page="include/left.jsp">
			<jsp:param value="goal" name="tag"/>
		</jsp:include>
		<div class="span9">
		
			<div class="btn-group" style="float:right; margin-top:0px">
          		<a class="btn btn-primary" href="jump.jspx?m=addgoal&projectid=${ep.project.id }">添加新目标</a>
        	</div>
			<div class="clear" style="clear:both"></div>
			<h3>项目目标</h3>
			<!-- 在此迭代的是相应项目下的目标的集合 -->	
			<c:forEach var="gl" items="${goalList}">
				<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
					<li class="active">
						<a href="showtask.jspx?goalid=${gl.id }"><i class="icon-th"></i>${gl.name}</a>
					</li>
					<li style="float:right"><i class="icon-edit"></i><a href="updategoal.jspx?goalid=${gl.id }" class="link-black"><i class="icon-th"></i>编辑</a></li>
				</ul>
				<div class="well">
					<p>${gl.desc}</p>
					<div class="progress progress-danger">
						<div class="bar" style="width:${aa}%;">已完成${aa}%</div>
					</div>
				</div>
			</c:forEach>
		</div>
	  </div>
	</div>
</body>

</html>